package com.weds.frame.auth.constants;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2023/3/17 09:17
 */
public class AuthConstant {

    public final static String  AES_LOGIN_PASSWORD ="k;)*(+nmjdsf$#@d"; //登录密码加密key
    public final static String  AES_SSO_USER_NO = "s;)*(+nmjdsf$#@c"; //登录密码加密key

    public final static Integer FAILED_FLAG = 601;
    public final static Integer SUCCESSED_FLAG = 600;

    public final static String REDIS_CACHE = "COMM:CACHE"; //公用缓存

    public final static String REDIS_OPT = "COMM:OPT"; //Redis存储Key

    public final static String IMG_HEAD = "fileAtt";

    public final static String REDIS_ONLINE_USER = "ONLINE:USER";

    public final static String ROLE_SUPERMANAGER = "S01";//超级管理员
    public final static String ROLE_MANAGER = "SYS001";//管理员


    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/upload";

    public final static String REDIS_SSO_USER= "SSO:USER"; //用户单点登录临时令牌
}
